Release 10.1A: OpenEdge Development:
Programming Interfaces


Representing indexes in XML Schema

The following Progress-specific XML Schema attributes are added to help fully describe a temp-table index.

Unique temp-table indexes are represented with the XML Schema unique definition.

Syntax
<xsd:unique name="IndexName" prodata:primaryIndex="BooleanValue" > 
  <xsd:selector xpath="TableName" /> 
  <xsd:field xpath="FieldName" prodata:descending="BooleanValue"/> 
   ... 
  <xsd:field xpath="FieldName" prodata:descending="BooleanValue"/> 
</xsd:unique> 

Non-unique temp-table indexes are represented with the Progress-specific index definition.

Syntax
<prodata:index name="IndexName"  
  prodata:primaryIndex ="BooleanValue" 
  prodata:wordIndex="BooleanValue"> 
  <prodata:table name="TableName" />   
  <prodata:field name="FieldName" prodata:descending="BooleanValue"/> 
  ... 
  <prodata:field name="FieldName" prodata:descending="BooleanValue"/> 
 </prodata:index> 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095